#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>

void Usage(const char *name)
{
  printf("\nUsage: %s -[a|b|c]\n\n", name);
  exit(0);
}
int main(int argc, int* argv[])
{
  if (argc != 2) Usage(argv[0]);

  if (strcmp(argv[1], "-a") == 0) printf("打印当前目录下的文件名\n");
  else if (strcmp(argv[1], "-b") == 0) printf("打印当前目录下文件的详细信息\n");
  else if (strcmp(argv[1], "-c") == 0) printf("打印当前目录下的文件名(含隐藏文件)\n");
  else printf("其它功能，敬请期待\n");

}
